package com.smartHire.domain;

public class Cart {
    private int C_id;
    private String u_Id;
    private int goods;
    private float money;
    private int day;
    private int number;

    public Cart() {
    }

    public Cart(int c_id, String u_Id, int goods, float money, int day, int number) {
        C_id = c_id;
        this.u_Id = u_Id;
        this.goods = goods;
        this.money = money;
        this.day = day;
        this.number = number;
    }

    public int getC_id() {
        return C_id;
    }

    public void setC_id(int c_id) {
        C_id = c_id;
    }

    public String getU_Id() {
        return u_Id;
    }

    public void setU_Id(String u_Id) {
        this.u_Id = u_Id;
    }

    public int getGoods() {
        return goods;
    }

    public void setGoods(int goods) {
        this.goods = goods;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "C_id=" + C_id +
                ", u_Id='" + u_Id + '\'' +
                ", goods='" + goods + '\'' +
                ", money=" + money +
                ", day=" + day +
                ", number=" + number +
                '}';
    }
}
